package com.thy.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.common.base.PageResult;
import com.hospital.common.pojo.TDepartment;
import com.hospital.common.vo.management.module.DepartmentAndStatVo;
import com.hospital.common.vo.management.module.DepartmentVo;
import com.hospital.common.vo.management.module.DoctorInfoVo;

import java.util.List;

/**
 * <p>
 * 科室表 服务类
 * </p>
 *
 * @author author
 * @since 2025-09-11
 */
public interface TDepartmentService extends IService<TDepartment> {

    List<DepartmentVo> getAllDepartment();

    List<DoctorInfoVo> getDoctorByDepartmentId(Long departmentId);

    void addDepartment(TDepartment department);

    PageResult<DoctorInfoVo> getDoctorByDepartmentIds(List<Long> departmentIds, Integer pageNum, Integer pageSize);
    List<DepartmentAndStatVo> getDepartmentAndStat();
}
